import request from '@/utils/request';

// 响应接口
export interface TxListRes {
    code: number;
    data: {
        createTime: Record<string, unknown>;
        updateTime: Record<string, unknown>;
        creator: number;
        updater: number;
        tenantId: number;
        id: number;
        name: string;
    }[];
    msg: string;
}
/**
 * 条线列表
 * @returns
 */
export function txList(): Promise<TxListRes> {
    return request.get(`/system/tx/list`);
}
